package com.hp.tiger.concurrent.classloader.chapter6;

import com.hp.tiger.concurrent.classloader.chapter3.MyClassLoader;

/**
 * @author XavierDong
 **/
public class ThreadContextClassloader {

    public static void main(String[] args) {

        ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
        System.out.println(contextClassLoader);

        Thread.currentThread().setContextClassLoader(new MyClassLoader());
        System.out.println(Thread.currentThread().getContextClassLoader());



    }
}
